<?php
/*
	This file is part of Core. Copyright © 2007, Emanuele Vulcano.

	Core is free software; you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation; either version 2 of the License, or
	(at your option) any later version.

	Core is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with Core; if not, write to the Free Software
	Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
	
*/

function CShowRequest() {
	header('Content-Type: text/plain');
	echo '$_SERVER == '; var_dump($_SERVER);
	echo '$_GET == '; var_dump($_GET);
	echo '$_POST == '; var_dump($_POST);
	echo '$_COOKIE == '; var_dump($_COOKIE);
}

// Next seed!

/* if (@constant('kCLoggingEnabled') {
	function CLog($x) {
		error_log($x);
	}
	
	function CDump(&$x) {
		ob_start(); var_dump($x); $text = ob_get_flush();
		CLog($text);
	}
} else {
	function CLog($x) {}
	function CDump(&$x) {}
} */

?>